package com.sora.sora.common.model.bo;

import com.sora.sora.common.model.entity.CommentEntity;
import com.sora.sora.common.model.vo.CommentVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring")
public interface CommentBasicConvert {

    CommentBasicConvert INSTANCE = Mappers.getMapper(CommentBasicConvert.class);

//    CommentVO entityConvertToVO(CommentEntity commentEntity);

    List<CommentVO> entityConvertToVO(List<CommentEntity> commentEntities);
}
